home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung / Power-Programmierung (Tewi)(1994).iso / magazine / drdobbs / ddjcompr / hstest / src / ar.mak next >
Text File  |  1991-04-29  |  1KB  |  58 lines

  1. #
  2. # makefile to generate HSTEST.EXE
  3. # please type 
  4. #   TM ar
  5. #
  6. # TM (TomsMake) is a superset to MS-MAKE 4.00
  7. #
  8. # make sure 
  9. # path and lib include MSC6.00 (will not work with MS-MAKE)
  10. #
  11.  
  12.  
  13. :
  14.     set path=c:\msc600;$(PATH)
  15.     set  lib=c:\msc600;$(LIB)
  16.  
  17. .C.OBJ:
  18.     $ERROR $ed $*.c
  19.     cl $(options)  $*.c
  20.  
  21. .ASM.OBJ:
  22.     $ERROR ed $*.asm
  23.     masm  /t /Zi $*.asm;
  24.  
  25. options=  /Gs /Ozax /c /Zp1  /Zi /G2
  26.  
  27.  
  28. #
  29. # CORE PACK/UNPACK-Routinen
  30. #
  31. # memid.asm                 : int memid(near *s1,near *s2);
  32. # pack.c --> pack.obj        : int  pack(uchar far *pbuffer,short pbufferlen,
  33. #                                        uchar far *inbuffer,short bufflen);
  34. #
  35. # pack.c     --> unpackc.obj: int unpackc(uchar far *outbuffer,
  36. #                                             uchar far *pbuffer,int plen);
  37. # unpack.asm --> unpack.obj    : int unpack (uchar far *outbuffer,
  38. #                                             uchar far *pbuffer,int plen);
  39. #   == Assemblerversion von unpackc()
  40.  
  41. memid.obj: $*.asm
  42.  
  43. pack.obj: pack.c
  44.     $ERROR $ed pack.c
  45.     cl /DPACK  $(options) pack.c
  46.  
  47. unpack.obj: $*.asm
  48.  
  49. pq.obj: $*.c
  50.  
  51. hstest.obj: $*.c
  52.  
  53. huffp.obj: $*.c
  54.     
  55. hstest.exe: $*.obj pack.obj memid.obj unpack.obj huffp.obj pq.obj
  56.     link /CO /M:100 hstest+pack+memid+unpack+huffp+pq,hstest,,stomlib
  57.     
  58.